package com.etennis.pojos.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (Commodity)表实体类
 * 积分商品表
 * @author makejava
 * @since 2024-10-17 17:13:20
 */
@SuppressWarnings("serial")
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@TableName("commodity")
public class Commodity  {
    @TableId(type = IdType.AUTO)
    //非空
    private Long id;

    //非空
    private String name;
    
    private String url;
    
    private Integer restNum;
    
    private Date uploadTime;
    
    private Integer price;

    //0在 1下架
    //非空
    private String status;



}

